Why didn't you try before asking? Anyway you can insert any block element inside another one.
Look at this code: https://code.sololearn.com/WMQ32i1Yyr60/?ref=app
The difference between inline and block is that the former displays two siblings on the same line, whereas the latter displays them on two different lines.
Because, the theory says that within an inline element in CSS with display property as "block" we cannot instert other block element and I am wondering if a <script></script> coding is considered as a block level element.