Hooke's universe

can you construct a FLRW-cosmological model with an ideal fluid parameterised by an equation of state \(p(\rho)\) where the scale factor \(a(t)\) performs harmonic oscillations?