My understanding is that, to score a goal, the ball has to be kicked (inter alia) and "kick" is defined as imparting motion with any part of the leg from knee to toe inclusive, except the heel.
If any referee would like to disagree with that - well, it's not uncommon that I disagree with referees.