Converting a form field to multiple submit buttons? I'm not sure how to explain this well in text, but I want to change this:

Into something like this:

In Drupal 8, I have an entity for which the only user-editable field is Score, which is a List (integer) with six possible scores, 0 to 5.
On the edit page, I want users to be able to press a button to assign the score.  There should be one button for each score.
How can I implement something like this?
I would like to suggest is, use  hook_form_alter, create an ajax handler on value change on select list, disable ( remove) submit button.
/**
 * Implements hook_form_alter().
 */
function YOURMODULENAME_form_alter(&amp;$form, FormStateInterface $form_state, $form_id) {
  if ($form_id == 'YOUR_FORM_ID') {
    $form['YOUR_FIELD_MACHINE_NAME']['#ajax'] = [
        'callback' =&gt; array('mycustomSubmit'),
        'wrapper' =&gt; 'vote-wrapper'
      ];
    
      $form['YOUR_FIELD_MACHINE_NAME']['#prefix'] = '&lt;div id=&quot;vote-wrapper&quot;&gt;',
      $form['YOUR_FIELD_MACHINE_NAME']['#suffix'] = '&lt;/div&gt;';
    // disable submit button
    $form['actions']['submit']['#disabled'] = TRUE;
 }
}


  /**
   * {@inheritdoc}
   */
  public function mycustomSubmit(array &amp;$form, FormStateInterface $form_state) {
    // YOU CAN DO NODE CREATION HERE, 
    \Drupal::messenger()-&gt;addMessage($this-&gt;t('YOUR SUCCESSFUL MESSAGE'), 'status', TRUE);
  }

and in twig template theme the select options instead of radio, theme them in a button like what you want. ( or even you can  style radio options as button with just CSS)
for reference: Customize Radio Button Appearance with CSS