In short: How can I add the optional parameters [htbp] to all float environments?
Ideally, I don't want to define a custom new environment, but add these options "with a hack" like \g@addto@macro\@floatboxreset{...}, maybe in the preamble or in a custom package (with \makeatletter and \makeatother).
MWE:
% Instead of this
\documentclass{article}
\usepackage{mwe}
\begin{document}
\begin{figure}[htbp]
\centering
\includegraphics[width=\textwidth]{example-image}
\caption{A dummy image.}
\end{figure}
\end{document}
% Have this
\documentclass{article}
\usepackage{mwe}
\makeatletter
% !!Some command that adds `[htbp]`
% to all float environments
\makeatother
\begin{document}
% Note that `[htbp]` is missing, since it is
% automatically implied.
\begin{figure}
\centering
\includegraphics[width=\textwidth]{example-image}
\caption{A dummy image.}
\end{figure}
\end{document}