I have been wondering this as well. I took part in a study at the local university that seemed related to visualization ability. Aside from various questionnaires about imagining different types of objects, they had me do a test on a PC where I had to look at moving shapes for a few seconds at a time. The shapes would then disappear and I'd have to click on it when it reappeared in a new position a few seconds later. You were meant to be able to predict the location based on the shape's trajectory and could react faster that way.
I doubt it was trying to identify aphantasia though, since that seems like a task you could do well in even without being able to visualize the shape.