Can we consume medicine having marine fish collagen in it?

If the fish is halal then it's collagen is jaez