Yes, a router is an excellent tool for cutting and shaping Trex deck boards. Use a router bit optimized for composites. Move the router slowly and take light passes to avoid overheating the Trex.