Breaker for pool heater
We can't speak you whether you CAN or not because we don't know anything about your capabilities. But will a 50A breaker plug into a 100A breaker panel? Of course. Do you have room for it physically? We don't know. Is the 100A panel already loaded so much that adding another 50A load will become a problem? We can't assess that from here.