Yes, for sure. You just need to install an operating system and software like apache2/nginx, mysql, ftpd, etc. There are plenty of tutorials for this. Also on youtube. Just search for "lamp raspberry pi" there and you will find your success. Good luck.