Yes it is possible, but it depends on the size and density, implicitly the mass, of the body that should be lifted. Because for high-density bodies, such as those with significant magnetic properties, very large intensities of the electromagnetic field are required to counterbalance the effect of the gravitational field.