Another fun little video from “Will it Work?”
If you like playing around with tech, this is a straightforward project that will let you make use of an old iOS device (an old, unused iPhone or iPad, perhaps) to act as a bridge to get any line-in source to your HomePod or HomePod mini.