Yes! A hook call occurs at most once per render. For react to figure out which hook call corresponds to what state, it analyzes the call order. Because we write component render functions top down, the hook call order stays the same every time every render. Not so if we call a hook inside a loop [1].
Why would you call a hook inside a loop anyway? Hooks return callbacks and variables, which you can use inside a loop without problem.