Yes, you can transfer your entry to another person before the transfer deadline (6 weeks prior to race date).
Please log in to your entry dashboard via your confirmation email to begin a transfer. After this date, transfers are not permitted and giving your number to another person is against UK Athletics rules for health and safety reasons.