Yes, I host my own email server and domain, for personal use, for almost 20 years. If you know how to properly configure all the things for an email server, you have nothing to worry (SMTP, MX, DMARC, PTR etc).
For spam usage there are plenty of free shit, that you don't need to mess with your personal stuff.