Aren't there modules since c++20 which solve this problem?
Edit: Saw after posting this was already posted in a top level comment.
I doubt we'll see Unreal Engine get any benefit from that in a long time for example. It could be so much better, working fully automatically with almost all existing code so long as you use IWYU, which is already standard for large projects where this is needed the most.