Not typically. Magazine are caliber-specific, meaning they only hold one size of ammunition (some will hold 2 sizes). They’re also shaped to fit your particular gun.
When searching for a magazine for your gun, you usually have two options. Either you must find the specific magazine for your make and model, or you may be able to find a 3rd party or off-brand magazine that states on the packaging that it fits your particular firearm.