Query to return all Oracle Deadlocks in 12c
Sure:

select
  ss.value
from  
  v$sysstat ss 
  join v$statname sn using (statistic#)
where
  sn.name = 'enqueue deadlocks'
;


I did not test it extensively though.