Off course (as this is just a simple test, I put my css inline):
<div class="testwidget" style="height: 400px; width: 100%; background-color: blue; background-position: center; background-size: cover; background-image:url('<?php echo get_field( 'widgetbackgroundimage', 'widget_' . $widget_id ); ?>');">
</div>