Can i setup the matomo tags with google tag manager?

Is it possible to install matomo tags with google tag manager?

using a plugin that supports google tag manager but not matomo, so if i can do this that will be great

was able to do this with basic html tag
tested and works