Wot Mark just said.
I managed for a number of years without a planer/thicknesser, using the router table to plane stock...
... BUT... not for the whole process.
Tall (75mm) cutter + split fence (bit of Formica stuck to the outfeed side) = nice result, usually*.
Then use that new face flat on the table to square up one of the adjacent sides (I was doing some small window frames, mostly).
At that point it's down to hand tools and careful measuring / marking out. Plane to the line and check for squareness and flatness in the usual way.
I didn't own a tablesaw, but I did have a small bandsaw. That's a great tool for dimensioning long stock. It's relatively safe ("kickback, wot kickback?"), and once you have two nice true faces, squaring off the other two is straightforward.
Any operation that puts the stock between the cutter and the fence on a router table is inherently unsafe. You might, just, square a parallel face with a sled (clamping your known good face parallel to the track), but you'd have to make one, contrive adjustable clamps on it, and put up with the reduced cutter height.
It's do-able, but not elegantly. But for small stock it's a good way of making use of old kitchen worktop cutters - it's one of the few applications that doesn't wear the end of the cutter more than the bit near the shank. Otherwise-worn-out worktop cutters can be 'recycled' that way, but frankly it's still a lot of faffing about.
E.
* You'll never get as nice a finish from the Router table approach as a proper planer (even small planers), because the cutter diameter has to be a lot smaller, and the split fence approach usually makes a mess of gnarly grain, even if the cutter is razor sharp.