Yes. The container comes with the miner plugin built in. When you run CLN with it you're already a miner.
But it is missing a function to mine your own transactions, so to mine anything you must do a call to soma-invoice and then pay the invoice from another node.
soma-invoice
and then pay the invoice from another node.