Safety depends on context.
But in general, identicalness of distribution does not imply independence. In particular situations (applications), random variables may happen to be independent, or in some cases, even if not, they may be close enough to being independent to suit certain practical purposes (calculations of adequate accuracy).
There is a commonly stated specification for random variables known as i.i.d, which stands for independent and identically distributed. It is a rather strong condition. In legal documents, you may see such terms as 'cease and desist", both words of which mean pretty much the same thing. Not so for i.i.d, in which each "i" has a different meaning. Random variables can be 1) independent without being identically distributed or 2) identically distributed without being independent or 3) independent and identically distributed or 4) neither independent nor identically distributed