If it's excess phase in REW (measured phase - minimum phase), it's something I did try to learn how to do, but the problem was, I couldn't figure out any way to synthesize arbitrary phase curves. If there is a general formula for it, it would be child's play to implement, but I could never find it.