If my opponent KO'd one of my Pokemon and then on my next turn I use Origin Forme Dialga VSTAR's "Star Chronos" attack, or if I KO one of my opponent's Pokemon with Medicham V's "Yoga Loop" attack, can I play Raihan on the second of my two turns from either of those attacks?
Yes, you can. Your Pokemon was KO'd "during your opponent's last turn" regardless of how many turns you take since then.
Source: TPCi Rules Team (2022-07-07)

Relevant cards

Note: All applicable cards may not be listed below.
SWSH10_114
SWSH10_114
SWSH7_83
SWSH7_83
SWSH7_152
SWSH7_152