Yes. Specifically, you can save the fitted values after model fitting, after which you plot those predicted values as an extra variable. Generally, twoway function
allows plotting lines and curves given their formulas. I'll not illustrate the second method given the first.
. sysuse auto
(1978 Automobile Data)
. gen gpm = 1/mpg
. qreg gpm weight
. predict predicted
(option xb assumed; fitted values)
. scatter gpm weight || line predicted weight, sort ytitle("1 / `: var label mpg'") legend(off)