Sure, that's doable. If you go to the
, click Import Block Library and upload the following XML (you may also need to choose example_block from the Block Library button towards the top left), you can see how a block like that would appear. Basically you just want a block with two inline inputs, the first having a text field and the second an image field (or vice versa). Let me know if that's not quite what you're looking for or if you have any other questions!
<xml xmlns="
https://developers.google.com/blockly/xml"><block type="factory_base" id="9(xB9VdumD0(Sbd:(NbY" deletable="false" movable="false" x="10" y="10">
<mutation connections="BOTH"></mutation>
<field name="NAME">example_block</field>
<field name="INLINE">INT</field>
<field name="CONNECTIONS">BOTH</field>
<statement name="INPUTS">
<block type="input_dummy" id="1z,=b,.=3gcJ]ij4$^((">
<field name="ALIGN">LEFT</field>
<statement name="FIELDS">
<block type="field_input" id="tSePnTcJhu7-y1|UbwA(">
<field name="TEXT">Your text goes here</field>
<field name="FIELDNAME">TEXT</field>
</block>
</statement>
<next>
<block type="input_dummy" id="c?St6HYpzL!I0]0n?gbj">
<field name="ALIGN">LEFT</field>
<statement name="FIELDS">
<block type="field_image" id="{|kmzZ=,`}-w!izaxabX">
<field name="SRC">
https://www.gstatic.com/codesite/ph/images/star_on.gif</field>
<field name="WIDTH">15</field>
<field name="HEIGHT">15</field>
<field name="ALT">*</field>
<field name="FLIP_RTL">FALSE</field>
</block>
</statement>
</block>
</next>
</block>
</statement>
<value name="TOOLTIP">
<block type="text" id="GHI$1:nX4DA9SOeb;CdS" deletable="false" movable="false">
<field name="TEXT"></field>
</block>
</value>
<value name="HELPURL">
<block type="text" id="!xvbg)9xz3EZY`k)-1.A" deletable="false" movable="false">
<field name="TEXT"></field>
</block>
</value>
<value name="TOPTYPE">
<shadow type="type_null" id="[$OMEw6BF1$Y:wXDR$Pi"></shadow>
</value>
<value name="BOTTOMTYPE">
<shadow type="type_null" id="%)]lsx2]db!D_1?=zQHw"></shadow>
</value>
<value name="COLOUR">
<block type="colour_hue" id="{hb.R~x~`Fodu*33Q-,l">
<mutation colour="#5b67a5"></mutation>
<field name="HUE">230</field>
</block>
</value>
</block></xml>