execute function as offline player

if i run /execute as ___ run function ... and the provided name is an offline player, will commands inside the function marked with @s selector work?

like if it says tag @s add ... will it add the tag to that offline player (if they have ever connected)

Continue to help post