Yes you can access T5 with a T2 boarding pass.
There used to be an airside shuttle bus that ran between the terminals but I don't know if it is still operating. It used to run from gate F1 in T5 to Gate 70 in T2.
Otherwise you can walk landside, takes 10-15 mins
Terminal Map ARN