You can do it if the teacher will allow you. In my class, two students were not be able to come in at all (and now they will be in big trouble) so the miss didn't care at this stage, she just got somebody to sign for them too.