Yes, you can.
"What's worse" means that the leaky pipes are a bigger problem than the termites, while "To make matters worse" just means that the leaky pipes compound the problems, rather than necessarily being a bigger problem individually.
Otherwise, the only...