Could you technically use Swift as a programming language for building a website / web app?
Theoretically, any program that can output plain text can be used for CGI (Common Gateway Interface), that includes Swift. So, yes, you can use it for web programming. But there is no extra facilities as in PHP or EJB/JSP to make it easier for you. May be you can start making these facilities by yourself and be the first one to do so.