Can an object float in a magnetic field?

I saw an experiment in which a frog was kept in a sealed room and then used.

Superconducting magnet

Created a powerful magnetic field in that small room,

Small frog

Just float! Because most substances in the frog are diamagnetic-an induced magnetic field in the opposite direction to the external magnetic field will be generated in the magnetic field, so the two magnetic fields repel each other with defying gravity.