apparently you can, but it depends on whether your car manufacturer provides an app to do it.
https://www.directcarbuying.com/blog/can-a-smartphone-be-used-as-a-car-key
Go "Back to the '70s" with The Maplewood Glee Club and Special Guests from CHS
May 19, 2024 at 4:00pm
… use a smart phone as a keyless remote for a car?
Thanks