Oh of course, your game is already very much its own thing! Nothing wrong with using another game's concept as inspiration, and frankly, I think Loop Hero could be improved in a few ways.
Good luck! :)