Just a personal view here, I think it is a good insight into how cabin crew and pilots work as a team (or sometimes not depending on airline) also gaining knowledge about safety/operating procedures etc.
The chances are though that at interview stage/or on the job as cabin crew it is likely you may let slip your intentions and not get the cabin crew job anyway. Something to bear in mind especially as most airlines initially offer temporary contracts.
Also I know I prefer to work with dedicated cabin crew which are genuinely interested staying in the cabin. I have flown with "would be pilot" cabin crew in the past who have spent every available opportunity trying to serve the flight deck and waste time up there to the detriment of the customers - however this may change with the flight deck door now locked most of the flight. This is what can be frowned upon.
also you may be taking the position of someone who may genuinely want to fly as cabin crew.
Getting a job in Flight Operations, Ground Handling etc may provide you with an insight also.
May all sound a bit anti, but just being realistic - who knows you may enjoy working down the back, it can be far more fun on a whole I'm sure.