Can I run a webserver on an android device?
Absolutely! You can either:


download a ready made one - like kWS - Android Web Server or
write your own - here's some code to integrate in to your project or just use as is.