This is very common in the UK which runs a mix (even if passenger trains do dominate.)
Our reluctance to spend the money to separate the passenger and freight traffic - even on the busiest lines - is part of the reason reliability of the network is often under question.