Yes. They will make bud even if the window would no be ideally oriented to sun. With properly oriented window etc it would grow nicely, but even with very sub optimal window with not too much direct light during day, it would grow and make bud, but very little of very fluffy and not very potent, likely still easily smokable.