You are welcome to install packages from where ever you like.
We build and cache packages from CRAN that either take a long time to compile, or require more memory than is currently available on rstudio.cloud and therefore are not able to be compiled.
As long as the packages you are installing from other repositories don't exceed the memory limit, you shouldn't have an issue.