Yes cream or even evaporated milk such as carnation milk can be used as a substitute when making macaroni and cheese.
I find that evaporated milk makes a better tasting macaroni and cheese than using regular milk does.
You can also use heavy whipping cream to make a very good tasting and cheesy macaroni instead of milk.