You can in theory host email on a (24/7 on) home computer or rasberry Pi, the problem is that outgoing email would be labeled spam. And anyone who sees your domain would know where you live. So we do not recommend this. However, you don’t need a full dedicated server, as that’s expensive. Best option is a small VPS cloud.