You are sort of right...... Many people Vegg with 24 hours of light per day..... If you keep your plant under 24 hours, It will just stay in a veggitative state, just trying to produce more leaves and branches.
But yes, if you want buds to smoke, you must simulate outdoor lighting conditions...