Hi, A matter of opinion is a common, idiomatic phrase. It is said when people have different viewpoints on a particular matter. The second utterance you mentioned is not an idiomatic expression that I am acquainted with.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.