Edibles are safe to consume when taken at the correct dose and situation. That means you should ingest your edibles only when you are not going to perform any heavy or dangerous activities.
Avoid overconsumption since edibles look and taste like regular food items, people can go overboard eating them all. Make sure you keep them out of reach of children.
So as long as you do it correctly and consume responsibly, edibles are indeedsafe.