I think I pointed out that we can accept the historical and unhistorcial as long as both agree with binding Catholic doctrine. I don’t recommend the school of thought that teaches that most of Scripture is not historicial, as a matter of fact I oppose it strongly on a personal level.
But let us not get confused with the distinction between allegory and the position that some take that Genesis or other books are just didactic folk stories. There is a big difference between Scripture as inspired folktale and interpreting Scripture spiritually. You can interpret Jonah literally being swallowed by a whale at the same time thinking that the story is not historical, and you can reverse that and think that it is historical but interpret it spiritually like Jesus did (Mt 12:40). I personally believe it is a 100% historical, and I believe it can be interpreted literally, allegorically, and analogically.
But I think the OP is whether the Church accepts or condemns whether we believe that Scripture is historical or not historical. Accepting it historically is how the Fathers of the Church understood it, and in my opinion is the safest and most fulfilling way to go.
By the way, if you want the first 3 chapters of Genesis interpreted literally based completely on Catholic teaching, here is my commentary on it
litteralchristianlibrary.wetpaint.com/page/Commentary+on+Genesis+by+John+Litteral