Can water in which pasta was cooked be used to make gravy?
No you would not. If you are cooking pasta properly, you need to use a lot of salt, rendering any gravy made with this water far too salty.

In addition, gravy is properly made with stock; made with water it will have no flavour.