Planet Fitness policy states guest can't be present without member.
Not sure if members picture comes up when they scan the card.
Should fine to go under friends membership. All they do is scan the card at entrance and you go on your merry way. They don't check your ID to verify that you are indeed that person.
Thanks! Your answer is awaiting moderation.