Of course you can continue to use the regular Matomo tracking code while using the tag manager. You’ll just have to add the container additionally to the site. Alternatively you could remove the Matomo tracking code and replace it with the Matomo Tag in the Tag Manager.