Yes you can do yes as follows in the microsoft example:
USE tempdb;
SELECT ProductNumber, ListPrice, Color
INTO Product
FROM AdventureWorks2008.Production.Product
GO
CREATE PROC sprocCreateDynamicTrigger
AS
BEGIN
DECLARE @SQL nvarchar(max)=
'CREATE TRIGGER trgProduct
on Product for INSERT
AS
DECLARE @InsProd varchar(32)
SELECT @insProd = ''TRIGGER: '' + ProductNumber FROM inserted
PRINT @InsProd'
EXEC sp_executeSQL @SQL
END
GO
-- Execute stored procedure to create trigger
EXEC sprocCreateDynamicTrigger
GO
INSERT Product VALUES ('Alpha Romeo 2011', 40000, 'Blue')
GO
-- TRIGGER: Alpha Romeo 2011
DROP PROC sprocCreateDynamicTrigger
DROP TABLE tempdb.dbo.Product
Vlw man, good to know from sp_executeSQL!
– user3062055