Yes and no. It could mean that, but then you should say WHAT they do in those seven long years.
"Passano sette lunghi anni a ricercare, senza trovare la risposta."
Does it make any sense in English to say to spend time without saying what for? (I ask, I don't know!) :)