I'm sure the Tongsheng will work fine with it. I guess the issues are if you were close to the maximum weight limits of the Boardman which I think is 120kg rider weight or you were a very strong cyclist then the extra stresses of the motor could be an issue. The Tongsheng peaks at about 80Nm and the average rider is between 20-50Nm output depending on age and fitness. I'm personally more of a fan of hub motors for ebikes mainly used on the road because of their huge benefits in reliability, simplicity and extending the life of the drivetrain well beyond of that of a normal bicycle. So safer for longer rides. However apart from a few cables needing re-routing I can't see an issue with that Boardman bike. The hydraulic brakes means you'd have to buy the little stick on hydraulic brake lever sensor wires if you wanted the brake levers to cut off the motor but with a torque sensor this is less of a requirement as when you stop pedalling the motor will stop however it will stop quicker with brake lever sensors.
The Boardman is a light bike at 11.2kg for its price point but why do you need a light bike for a ebike project when the motor will easily compensate for a 100kg rider let alone a couple kg in the bike itself. The bike will not be super comfortable with a alloy fork.
Tongsheng motors need a high discharge rate from the battery to generate that 80Nm of peak torque. You are looking at somewhere around 18A at 36V or 48V, at least over 600W output. Mid-drives take huge current to generate their high torque. You need a pretty heavy weight battery to allow for that current output. Maybe something that comfortably does 20-25A for safety and to prevent fires. That's a heavy battery typically. You are probably looking at a 48V 12Ah or 36V 15Ah minimum battery. Despite mid-drives making up only niche of all ebikes sold they have a disproportionate number of ebike battery fires because too many underspec the battery for mid-drive motor kits. Better to use a stronger heavier cheaper bike and give yourself more money for the battery in my opinion.
One other thing is the current gearing on the Boardman. I think the Tongsheng comes with a 48T front chainring typically and the Boardman has a 36T largest cog on the rear so your peak torque would be 60Nm (36/48 x 80) but you have to allow for a couple Nm lost through the chain so probably more like 58Nm which is down to higher hub motor output levels. So to get that full 80Nm peak torque you will need a larger rear cassette like a 50T rear cog to give you that 80Nm output. That's why mid-drives work best with mountain bikes because they typically have the lowest gearing.
View attachment 694970