Is it true that can you be offsides on a shot on goal based on the following text?

The offside offence is neither a foul nor misconduct as it does not belong to Law 12. Like fouls, however, any play (such as the scoring of a goal) that occurs after an offence has taken place but before the referee is able to stop the play is nullified. The only time offside is cautionable is if a player deliberately leaves the field in order to deceive their opponents regarding a player's offside position.
no