I routinely mix and match components and functionality into prototypes, using my extensive experience with
- front-end coding: semantic html, structured css, modern javascript
- back-end coding: php, sqlite, AI (e.g. OpenAI via Microsoft Azure)
I use prototyping as part of user experience design, to explore the problem space and the solution space, and to have a powerful and flexible hi-fi visual artefact to iteratively test with users.
Another use case for prototyping is to quickly and cheaply explore the value and feasibility of internal tools before going into any full development.