That trick actually works. And if you use Standard Velocity .22 lr just about all you can hear is the ‘clack’ of the action in a 10-22.
However you’d have just manufactured an illegal suppressor and could theoretically be sent to prison for 20 years!
Ed