This is already possible using Halbach arrays with compensating coils. It only needs a bit of support until it 'takes off', after that it is entirely self correcting.
https://www.science.gov/topicpages/h/halbach+magnetic+bearin...
Here is one for planar arrays:
https://www.researchgate.net/publication/228401193_Electrody...
Here is one that apparently doesn't need the coils either (haven't checked it beyond the abstract):
https://www.sciencedirect.com/science/article/abs/pii/S03048...
https://en.m.wikipedia.org/wiki/Inductrack
Never really took off due to IP, which I believe recently expired