No. The Palestinians have a land dispute because they’ve been ethnically cleansed from their land, bit by bit, by Israel over the last 70 years. They receive arms because their allies believe Palestinians shouldn’t be subjected to apartheid and genocide.
The most Iran gets from the situation is less refugees because the Palestinians will eventually succeed and get their land back. This would improve the stability of the region, as most countries in the Middle East agree that a country with a history of fighting wars to steal other peoples’ land (as Israel has done) is a threat to all other countries in the region.