You can surely use you router table and plunge the work into the bit. Mark a start and stop line on the fence or table for the length of the mortise. Don’t try to do it in one pass, take multiple passes.

You could then square up the corners with a chisel or just use a file/rasp/sandpaper to round-over the tenon to fit..

-nicky