This isn't too complicated.
You can do this on the Star Alliance, but you'll have an extra stopover btw Budapest and TLV.
You're allowed at least one stopover on international reservations on all the major mileage programs in *A that I'm aware of.
Some may charge YQ though, so you'll have to chk that out.