Not sure about iPhone 8 specifically but that are many efforts available depending on your iOS version. https://ipadlinux.org/
btw if you're into this kind of stuff, check out MacPaint on iPad via UTM. It looks lovely! I can't find the link now, but check out Matt Sephton's blog for that:
https://blog.gingerbeardman.com/2023/10/21/list-of-vintage-j...
(ps I write about this stuff occasionally too https://untested.sonnet.io/notes/til/weekly/58/#h-interestin...)