Can a function execute over more than one tick to save performance?

you are asking for multi-threading. there is the task graph system A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums