Raised vegetable garden drainage.

Hello, I plan on growing vegetables in a raised garden bed this year and I am hoping you can tell me if it’s safe to use perlite in the soil. Is there a good substitute for perlite? Thank you.…