Is it safe to use SetNeworkOwner on players to "fix" knockback lag?

It turns out that lately I’ve been programming a combat system framework and I realized that I always set the NetworkOwner of the enemy’s primary part for a short period of time (something like 0.25 seconds) to avoid lag problems. I wanted to know if it’s safe to use SetNetworkOwner this way.

It should be fine, SetNetworkOwner basically sets the physics calculation to the player you assign it to. As long as you do not assign too many on a single player it should cause minimal performance loss.

Network Ownership DOCS

Yes, it is, but, you would have to set the network owner back to the actual player.

Do note that while the network owner is set to another player, the original player cannot move or do anything to their character.