You’d basically have to create your own phone with its own software.
Lol. The PiPhone. https://www.raspberrypi.org/blog/piphone-home-made-raspberry-pi-smartphone/ About $100 in parts.