Tunable SSH model in ferromagnetic systems