Everything is dangerous. Walk across the street and you may get hit by a bus. Take a shower and you could break your neck. Meditate, and you will probably dredge up various nasty matters from your past.
Levitation is not the goal. The goal is liberation. There is a link between psychic phenomena and meditation, but the relationship is complex.