well, don't be using him as a reference for future employment if you don't come back.
if you feel that resignation is not an option, then yes you can leave and given the fact that you have no loans.
do as mentioned above, issue an email or letter after leaving notifying your boss.