Webassembly are blocked in Locker service as because if it is allowed, then it is upto salesforce which can guarantee that it should not violate the security rules which is enforced by Locker Service. But, you can use lightning container instead of using Visualforce. Lightning container allows you to create components that can be used in a safe manner in a lightning context.
I hope this will work.
Want to become a Salesforce expert? join Salesforce Admin certification now!!