I personally have not seen ebike kits that work with thru-axles because the motor has to push against a fixed axle in order to turn the wheel (front or back wheel). Most hub motors are connected to a 12 mm threaded axle with 9 mm flats that slide into a dropout. Some of the more powerful geared or gearless motors and kits come with torque arms that attach to the axle outside of the dropout and help to spread the forces up into the fork (if it's a front kit), or chain stay and seat stay (if it's a rear kit). I've attached a couple of images below that helps to show this.
In summary, while many hub motor style ebike kits do support disc brakes (where the disc can mount directly to the outer casing of the motor), I have not seen any kits that are compatible with thru-axle configurations. Axles are built-in to the motor and provide something for the motor to push against, with a thru-axle, the hub motor wouldn't have anything to push against to generate force and move the wheel and the power cable that connects the motor to the controller and battery would spin and get shredded off. Most designs that I have seen (with external batteries) have the power cable run through the axle and exit the right or left side.