In some way yes, but keep in mind that it takes like 30m of distance before the AirTag notice you forgot something. For a bag in a restaurant it’s not an issue as you can come back, but your taxi will be far from you when you will receive the notification