No, a teacher cannot be taken on for a role that does not include teaching RE and then be required to teach it. A teacher cannot be penalised for not attending collective worship. The relevant legislation is in section 59 of the School Standards and Framework Act 1998. It says - "59 Staff at community, secular foundation or voluntary, or special school
(1) This section applies to -
(a) a community school or a community or foundation special school, or
(b) a foundation or voluntary school which does not have a religious character.
(2) No person shall be disqualified by reason of his religious opinions, or of his attending or omitting to attend religious worship -
(a) from being a teacher at the school, or
(b) from being employed [or engaged] for the purposes of the school otherwise than as a teacher.
(3) No teacher at the school shall be required to give religious education.
(4) No teacher at the school shall receive any less remuneration or be deprived of' or disqualified for, any promotion or other advantage -
(a) by reason of the fact that he does or does not give religious education, or
(b) by reason of his religious opinions or of his attending or omitting to attend religious worship."