Can five membered ring form through Friedel-Crafts alkylation?
Maybe your teacher means to say that because further reactions would happen due to the further activation of the ring due to the alkyl group as opposed to the deactivation due to the acyl group.
Also further catalyst induced polymerization reaction can occur apart from possible polyalkylation

In general alkylation on rings are not preferred because of the above reasons as well