is it ok to crossffire or sli in an year or 2 ?

Solution
It is perfectly fine to buy one graphics card, and then buy another of the same a couple of years later and SLI/Crossfire them - as long as they are the same.
Your question isn't really clear, which isn't surprising considering it's one sentence, but from what it looks like, you want to buy one card now, then buy another card in a year or two then SLI/CF it.

Well, first of all, it should be a fairly new card, because if it's an old card, in a year or two it could be taken off all sites in place of more modern items except places like Amazon and Ebay that'll sell it for like 1k. That's probably not going to be an issue though. Buying the same card will probably be an issue. With SLI it's strict. It has to be the same brand, same memory amount, same card, basically just the same product. Crossfire is more chill though, and for that reason I think it's highly underrated. It has many benefits, like only needing x4 lanes instead of x8 like SLI, but the big one is being able to mix memory types, brands, and even in some cases cards. So if you're aware of all this, and you're buying according to the info given, then the simple answer is yes
 
However, it's often not wise to buy a second card. A new generation of cards comes out every few years and greatly outperforms the previous, so it's usually better to just sell the one you have, and buy a new one. I've done a few Crossfire setups and have always been somewhat disappointed.