Of course, it is technically possible, but the more important question to consider is whether you should.
Mixing different frameworks could result in an inconsistent user experience, which is usually something that is avoided for practical reasons.
However, there may be instances where a gradual transition is necessary, and certain parts of your software may end up looking different.
If you are determined to combine different UI frameworks, make sure to refer to the standard 'get-started' guides for each framework.
Check out this code-sandbox that showcases both a Material-UI button and a Bootstrap button
import * as React from "react";
import * as ReactDOM from "react-dom/client";
import Button from "@mui/material/Button";
import { Button as BootstrapButton } from "react-bootstrap";
import "bootstrap/dist/css/bootstrap.min.css";
function App() {
return (
<>
<Button variant="contained">Hello World</Button>
<br />
<br />
<BootstrapButton variant="primary">Primary</BootstrapButton>
</>
);
}
ReactDOM.createRoot(document.querySelector("#app")).render(<App />);