If you pay off you house you can still invest.
You don’t have to have a mortgage to invest.
You can use what used to be your mortgage payment to invest with.
“You can use what used to be your mortgage payment to invest with.”
Obviously, you are missing a few details ...