Internally routed (stealth) droppers require a port for the cable to exit the frame, at the headtube (fully internal), or at the bottom of the seattube.
If your bike doesn't have these ports, you'll need an external dropper.
There are also wireless droppers and droppers with a lever under the seat that can be run without internal cable routing.