Harmonic interactions play an important role in different areas of physics. The harmonic oscillator appears as a model in condensed matter systems, quantum statistical mechanics, quantum field theory and quantum physics. In relativistic quantum mechanics, a well-known version of the harmonic oscillator was first proposed in [
10] for spin-1/2 particles called the Dirac oscillator. This relativistic oscillator model was examined by replacing the momentum vector with $\vec{p}\to \left(\vec{p}-{\mathtt{i}}\,m\,\omega \,\vec{r}\right)$ in the wave equation. The Dirac oscillator has been studied in a commutative [
10] and non-commutative [
11] field theory. Inspired by this Dirac oscillator, a similar oscillator model for spin-zero bosons has been proposed in [
12,
13] called the Klein–Gordon oscillator. Later on, several authors have investigated this spin-zero oscillator model in various space-times backgrounds, for instance, with a magnetic field in cosmic string space-time [
14], with a coulomb-type scalar [
15] and vector potentials [
16], with a magnetic field and Cornell-type scalar potential in the Som-Raychaudhuri space-time [
17], in the five-dimensional cosmic string space-time, magnetic cosmic string space-time, and magnetic cosmic string space-time with torsion [
18], with a linear and Coulomb-type potentials [
19], with a Coulomb-type scalar potential in cosmic string space-time [
20], in (1 + 2)-dimensional Gürses space-time [
21] and with a Coulomb-type potential [
22], with a magnetic in the space-time with spacelike dislocation [
23], with a magnetic field in cosmic string with spacelike dislocation [
24], in cosmic string space-time with a Cornell-type potential [
25], in rotating cosmic string space-time with a Cornell-type scalar potential [
26], with a magnetic field in the space-time with a spacelike dislocation subject to a linear confining potential [
27], with a magnetic field in a non-commutative space [
28,
29], with rotating effects in a space-time with magnetic screw dislocation [
30], in a topologically non-trivial space-time [
31], with a magnetic field in five-dimensional Minkowski space-time with a Cornell-type scalar potential [
32], with a magnetic field in five-dimensional cosmic string space-time with a Cornell-type scalar potential [
33], in a global monopole space-time [
34], in a global monopole spacetime with rainbow gravity [
35], under the effects of Lorentz symmetry violation [
36–
39].