I've done this for a couple of apps now - it is an excellent way to prototype when you know what the data from the api endpoints will look like, but you don't have a real backend to test against. It lets you rapidly build a frontend without worrying about the backend.
However, it isn't the best solution for everything. It's possible to have your workflow bogged down by refactoring logic if the api for the endpoints are in flux.
However, it isn't the best solution for everything. It's possible to have your workflow bogged down by refactoring logic if the api for the endpoints are in flux.