Hey Boomer, Im just a noob but the answer is YES and I DONT KNOW?
Yes = you can build server side websites on your PC.. Use XAMPP a small program that sets up a small folder structure, then tricks your computer into thinking its online content.
https://www.apachefriends.org/index.html
Its what many use to test sites before uploading...
I DONT KNOW? = Connecting it to your phone?... Can your phone software do that?... If it can.. your phone will then ask give me the website... Computers going to turn around and say "What the hell you talking about, I don't have it the sites online" remember you tricked it!...
Just a noobs thoughts at random and on the fly..... Luck