illegal is not the correct term. and you are not the creator of the service, so why should you worry? if you think it’s like torrent, the answer is no.
It’s not “illegal” - its just against the Terms Of Service aka the TOS agreement that you “agree” to by default when you join a platform like Instagram. Failure to comply with the TOS is justification to remove you from the platform and delete your account.