Thank you for posting your query on Microsoft Q&A, I was able to review the possibilities of block emails without any content.
You could achieve this by creating Anti-spam policies:
Thanks,
Akshay Kaushik
Please "Accept the answer (Yes)" and "share your feedback ". This will help us and others in the community as well.