Absolutely! Your website is your own, and you can put almost whatever content you want on it. As long as the content is not illegal or harmful, you’re free to display whatever content you want.
That said, you are responsible for the content that’s displayed on your site. But as long as you’re using safe ads from a reputable ad network, you can display your own ads on your site.