Yes, and I'm afraid that I (LSN, self-Dx with high certainty, awaiting formal Dx since early 2023) been guilty of giving this advice until some time last year, when a user on this very platform informed me that what I was suggesting was masking.
One major factor in this problem, I believe, is that a lot of the "raising awareness" stuff I've seen over the years tends to focus on just one part of our demographic (namely young, medium support needs boys), which is quite counter-productive. This is likely the main reason why none of my teachers ever thought to have me tested, and why I was 17 before I thought "Hmm, I can't shut up about Linux, I have a bunch of autistic friends, and I just watched three solid hours of old PSAs. I wonder if there's a reason for all that?"
There are times when masking is a good idea, this potentially being one of them (I do not know the context); but on the whole, it really isn't fair to do it all the time just to placate neurotypicals when they are more than capable of dealing with it without long-term psychological harm.