My question is can these hours be logged as p2( dual time ) or am I wasting my time?
(1) You can write whatever you like in your log book.
(2) What you can't do is count those hours towards any licence or rating, as they don't count as P1 (because you weren't), they don't count as Pu/t (because the other guy isn't an instructor), and they don't count as P2 (because there's no such thing).
(3) Whether the
insurance company counts such flying, which you're doing with the legal status of a passenger, towards their requirements or not is a matter for the insurance company - you'll have to ask them.