You can create web content with R using things like rmarkdown, blogdown, shiny, etc. But R and Rstudio are not specifically tailored for web design and development, so it's possible but it is not the best tool for the job.
Also, I think you are confusing the concepts of website, web page and web app, they are similar but not the same.