No, you need a roof rack which will fit your particular type of vehicle.
My last roof rack (I can't remember the make), had ends you could swap if you purchased a different vehicle, but it wouldn't fit my current vehicle (no ends available), so I had to buy a new one at around £100.
You'd be extremely lucky to buy a 'random' roof rack and by sheer chance it fitted your vehicle.