Rule 14.1.1 says that play stops if a “goal” call is made, and the official annotation to that rules states:
“If a player could reasonably assume that they have scored a goal, and behaves as if they have scored a goal (for example, by celebrating a goal) this should be treated as a “goal” call. “