Pg_stat_monitor om an existing postgres container

Hi,

I have postgresql v.13 installed in a docker container.
I have enabled the pg_stats_statement extension for this postgres, and saw that pg_stat_monitor is avialable now.

Can it be enabled inside my container?

Thanks,
Tamar