And I guess you could actually do something like this below, but I have not tested this so I don't know if it would work on not. In theory it should work. So give it a try and let me know if it works. Be prepared to delete your Root .htaccess file if something goes wrong.
# REQUEST METHODS FILTERED
# This filter is for blocking junk bots and spam bots from making a HEAD request, but may also block some
# HEAD request from bots that you want to allow in certains cases. This is not a security filter and is just
# a nuisance filter. This filter will not block any important bots like the google bot. If you want to allow
# all bots to make a HEAD request then remove HEAD from the Request Method filter.
# The TRACE, DELETE, TRACK and DEBUG request methods should never be allowed against your website.
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK|DEBUG) [NC]
RewriteCond %{HTTP_USER_AGENT} !^(UptimeRobot|another-example-good-bot) [NC]
RewriteRule ^(.*)$ - [F,L]