It is possible but I would not recommend it. When your computer is off your website is not accessible. Depending on the traffic you need also a decent internet connection. Beside those two things you also got security. There might be other reasons but this are the most important I think.
Now days hosting is not expensive and MySQL is most often included so the most easiest thing is shared hosting.