Yes, you can. But before you do so, there are limitations you need to take into consideration:
You should know how to setup a WWW server software on your computer. This is a software that allows Internet users to access the web files on your computer.
Your Internet service provider supports you running websites on your home computer. You will need to investigate your bandwidth quota.
Your computer has to stay on at all times. Each time you turn it off or reboot, your website will become unavailable.
Your website will load slowly as home internet connections are not designed for serving web pages.