You need the device_tracker.see service.
It will create a known devices file with trackers and update those entities. The created trackers can be added to a person.
Redacted example:
# additional device tracker dynamically created
# based on binary_sensor presence template sensors to defeat Unifi wrapper logic
- id: presence_plus_refresh
alias: "Update presence plus device tracker"
mode: queued
trigger:
- platform: state
entity_id: binary_sensor.presence
from: "off"
to: "on"
- platform: state
entity_id: binary_sensor.presence
from: "on"
to: "off"
condition: []
action:
- service: device_tracker.see
data:
dev_id: "tracker1"
location_name: "{{ 'home' if is_state(trigger.entity_id, 'on') else 'not_home' }}"
source_type: "router"