Yes, GA4 is usually successful at detecting bot traffic. This becomes possible thanks to Google Research and the International Spiders and Bots List of the Interactive Advertising Bureau (IAB) collaboration.