A captcha in console? Possible with figlets

Code
<?php

use Zend\Captcha\Figlet;
use 
Zend\Debug\Debug;

$captcha = new Figlet(['wordLen' => 3]);

// generates captcha token and stores it in Session
$captcha->generate();
$captchaStr $captcha->getFiglet()
    ->
render($captcha->getWord());

echo 
'<pre>' $captchaStr '</pre>';

// two possible user inputs.
// id = generated session id
// input = user input
$wrongInput = [
    
'id' => 1,
    
'input' => 'asdf',
];
$rightInput = [
    
'id' => $captcha->getId(),
    
'input' => $captcha->getWord(),
];

// validate user input
Debug::dump($captcha->isValid($wrongInput));
Debug::dump($captcha->isValid($rightInput));
Result
   _____    _____     _____   
  / ___//  |  ___||  /  ___|| 
  \___ \\  | ||__   | // __   
  /    //  | ||__   | \\_\ || 
 /____//   |_____||  \____//  
`-----`    `-----`    `---`   
                              
bool(false)
bool(true)
Used Versions
PHP 7.4, Zend 3.0, Symfony 4.3, Laravel 5.8, PHPUnit 8.0, Doctrine 2.10