Formation is legal, so a run play is fine. As soon as it is a pass, that receiver would be illegal man downfield because
He was “covered up” as it is usually referred to.
Really smart defenders recognize it and know it’s a run play and they point out the formation to the official, so if they pass it is illegal.