Yes, oracle 12c can be used in ILIAS. The installation should be straightforward. But bear in mind that after successful installation, there will be some errors like when importing group, course or other area. But still usable, you just need to tweak some oracle query.
Still recommended to use MySQL.