If it works with the Switch, it should work with anything that uses HDMI (like the Apple TV).
The bigger issue you might experience is the WiFi. Many public WiFi access points require you to login through a web portal. You have probably experienced this many times on your phone where a full screen pop up appears and you have to agree to terms or provide a room number, etc.
The Apple TV doesn’t provide an interface for this so it won’t be able to connect to the WiFi. For solutions you can either do something like hook up to your phone’s personal hotspot or even better: get an HDMI adapter for your phone or tablet and hook it up directly up watch stuff like Netflix or whatever else you would use the Apple TV for.
Hope that helps.